package com.goldcontrol.cloudweb.mapper;

import com.goldcontrol.cloudweb.model.ProjectControl;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
@Mapper
public interface ProjectControlMapper {

    Integer insert(ProjectControl projectControl);

    Integer update(ProjectControl projectControl);

    ProjectControl selectById(int projectId);

    List<ProjectControl> selectByFields(Map<String,Object> map);

}